<!--
 * @Description: 修改密码
 * @Author: JiangMing
 * @Date: 2021-09-15 17:38:00
 * @LastEditors: JiangMing
 * @LastEditTime: 2021-09-15 17:38:00
-->
<template>
  <view class="page">
    <uni-forms ref="form" :modelValue="formData" class="form">
      <uni-forms-item label="旧密码">
        <uni-easyinput
          v-model="formData.password"
          placeholder="请输入旧密码"
          :clearable="false"
          type="password"
        />
      </uni-forms-item>
      <uni-forms-item label="新密码">
        <uni-easyinput
          v-model="formData.newPassword"
          placeholder="请输入新密码"
          :clearable="false"
          type="password"
        />
      </uni-forms-item>
      <uni-forms-item label="重复密码">
        <uni-easyinput
          v-model="formData.replyPassword"
          placeholder="请输入重复密码"
          :clearable="false"
          type="password"
        />
      </uni-forms-item>
    </uni-forms>
    <view class="handle">
      <button class="btn-primary">确定</button>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      formData: {}
    }
  }
}
</script>

<style lang="scss" scoped>
.page {
  padding: 32rpx;
  .handle {
    margin-top: 80rpx;
    padding-bottom: 40rpx;
  }
}
</style>